import commonPage from './commonPage'

export default class mainPage extends commonPage {
  constructor () {
    // 调用父类的公共方法
    super()
    this.h1Locator = 'h1'
    this.url = 'http://localhost:7077/dashboard'
  }
  get welComeText () {
    return cy.get(this.h1Locator)
  }
  // isTargetPage () {
  //   cy.url().should('eq', this.url)
  // }
}
